package com.pig.pojo;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CookBook implements Serializable {
    private static final long serialVersionUID = -3716340417090828836L;
    //菜谱ID
    private Integer id;
    //主料、辅料、调料
    private List<FoodMat> ingredient_groups = new ArrayList<>();
    //制作步骤
    private List<ProStep> stepId = new ArrayList<>();
    //菜谱名称
    private String menuName;
    //成品图
    private String finishedImg;
    //菜谱描述
    private String des;
    //需要时间
    private String needTime;
    //口味
    private String flavor;
    //制作工艺
    private String cookingTechnology;
    //厨具
    private String kitchenware;
    //制作难度
    private String production;
    //小窍门
    private String tips;

    private Date createdTime;
    private Date modifiedTime;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public List<FoodMat> getIngredient_groups() {
        return ingredient_groups;
    }

    public void setIngredient_groups(List<FoodMat> ingredient_groups) {
        this.ingredient_groups = ingredient_groups;
    }

    public List<ProStep> getStepId() {
        return stepId;
    }

    public void setStepId(List<ProStep> stepId) {
        this.stepId = stepId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getFinishedImg() {
        return finishedImg;
    }

    public void setFinishedImg(String finishedImg) {
        this.finishedImg = finishedImg;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getNeedTime() {
        return needTime;
    }

    public void setNeedTime(String needTime) {
        this.needTime = needTime;
    }

    public String getFlavor() {
        return flavor;
    }

    public void setFlavor(String flavor) {
        this.flavor = flavor;
    }

    public String getCookingTechnology() {
        return cookingTechnology;
    }

    public void setCookingTechnology(String cookingTechnology) {
        this.cookingTechnology = cookingTechnology;
    }

    public String getKitchenware() {
        return kitchenware;
    }

    public void setKitchenware(String kitchenware) {
        this.kitchenware = kitchenware;
    }

    public String getProduction() {
        return production;
    }

    public void setProduction(String production) {
        this.production = production;
    }

    public String getTips() {
        return tips;
    }

    public void setTips(String tips) {
        this.tips = tips;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    @Override
    public String toString() {
        return "CookBook{" +
                "id=" + id +
                ", ingredient_groups=" + ingredient_groups +
                ", stepId=" + stepId +
                ", menuName='" + menuName + '\'' +
                ", finishedImg='" + finishedImg + '\'' +
                ", des='" + des + '\'' +
                ", needTime='" + needTime + '\'' +
                ", flavor='" + flavor + '\'' +
                ", cookingTechnology='" + cookingTechnology + '\'' +
                ", kitchenware='" + kitchenware + '\'' +
                ", production='" + production + '\'' +
                ", tips='" + tips + '\'' +
                ", createdTime=" + createdTime +
                ", modifiedTime=" + modifiedTime +
                '}';
    }
}
